package Mapper

import (
	"github.com/gin-gonic/gin"
	"hr-system/Controller"
)

func DepartmentTransferGroup(r *gin.Engine) {
	DepartmentTransferRoutes := r.Group("/departmentTransfer")
	departmentTransferRoutesController := Controller.NewDepartmentTransferController()
	DepartmentTransferRoutes.POST("/show", departmentTransferRoutesController.PageList)// 查询已调动员工
	DepartmentTransferRoutes.POST("", departmentTransferRoutesController.Create)// 岗位调动
}
